﻿using MediatR;
using RBAC.MaHaiBo.Repository;

namespace RBAC.MaHaiBo.API.Application.Command.UserCommand
{
    public class UserUpdateCommand : IRequest<int>
    {
        /// <summary>
        /// 用户名称
        /// </summary>
        public int Uid { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string? accountNumber { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? password { get; set; }
        /// <summary>
        /// 部门 
        /// </summary>
        public int department { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string? uName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool uSex { get; set; }
        /// <summary>
        /// 所在省份
        /// </summary>
        public int provinceId { get; set; }
        /// <summary>
        /// 所在市
        /// </summary>
        public int cityId { get; set; }
        /// <summary>
        /// 所在县
        /// </summary>
        public int countyId { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? address { get; set; }
    }
}
